import request from '@/utils/request';

export function takeList(query) {
  return request({
    url: '/channel/channelUserTake/list',
    method: 'get',
    params: query
  });
}

export function takeUpdate(data) {
  return request({
    url: '/channel/channelUserTake/edit',
    method: 'put',
    data: data
  })
}

export function platformAudit(data) {
  return request({
    url: '/channel/channelUserTake/platform/audit',
    method: 'put',
    data: data
  })
}

export function paymentCompleted(data) {
  return request({
    url: '/channel/channelUserTake/platform/completed',
    method: 'put',
    data: data
  })
}

export function refuse(data) {
  return request({
    url: '/channel/channelUserTake/platform/refuse',
    method: 'put',
    data: data
  })
}
